package cn.tedu.zx.ams.adapter.mapper;

import cn.tedu.zx.pojo.admin.entity.Permission;
import cn.tedu.zx.pojo.admin.vo.PermissionListItemVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PermissionMapper extends BaseMapper<Permission> {
    List<PermissionListItemVO> list();

    Long selectByValue(String value);
}
